package types;

public enum GENDER_TYPE {
	MALE {
		public String toString() {
			return "Male";
		}
		public char toChar() {
			return 'M';
		}
	},
	FEMALE {
		public String toString() {
			return "Female";
		}
		public char toChar() {
			return 'F';
		}
	} ;
	public char toChar() {
		if (GENDER_TYPE.MALE != null)
			return 'M';
		else 
			return 'F';
	}

}
